package cn.webestar.scms.security.api;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class AccountLoginDto {

    private String requestId;

    @NotBlank(message = "不能为空")
    @Size(min = 5, max = 20, message = "长度必须在5到20个字符之间")
    private String username;

    @NotBlank(message = "不能为空")
    @Size(min = 5, max = 200, message = "长度必须在5到200个字符之间")
    private String password;

    private String captcha;

}
